package com.yowasa.xiuxian.entity.bo.item;

import com.yowasa.xiuxian.entity.po.XiuxianUserItemPO;
import lombok.Data;
import org.springframework.beans.BeanUtils;

@Data
public class UserItemBo extends XiuxianUserItemPO {

    public static UserItemBo buildByPo(XiuxianUserItemPO po) {
        UserItemBo bo = new UserItemBo();
        BeanUtils.copyProperties(po, bo);
        return bo;
    }
}
